package com.yjc.blog.domain.bo;


import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class PageDao {

    @NotNull(message = "不能为空")
    private int page;

    @NotNull(message = "不能为空")
    @Max(value = 100)
    private int size;
}
